package net.csdn.business.kanban.common.domain.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;

/**
 * @ClassName IssueAddParam
 * @Description TODO
 * @Author liuzhisheng
 * @Date 2023/9/19
 **/
public @Data
class IssueAddParam{
    @NotBlank
    @Schema(name = "issueId", description = "issueId")
    private String issueId;

    @NotNull
    @Schema(name = "projectId", description = "项目ID")
    private Long projectId;

    @NotNull
    @Schema(name = "status", description = "issue状态")
    private Integer status;

    @Schema(name = "assignUser", description = "负责人")
    private String assignUser;

    @Schema(name = "title", description = "标题")
    private String title;

    @Schema(name = "labels", description = "标签数组")
    private ArrayList<String> labels;

    @Schema(name = "milepostId", description = "里程碑")
    private String milepostId;

    @Schema(name = "serialNumber", description = "issue序号")
    private Integer serialNumber;
}